package io.lkt.modules.sys.dao;

import io.lkt.modules.sys.entity.BUserShareArticleInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * 用户分享文章信息表
 * 
 * @author xss
 * @email dustwas@163.com
 * @date 2021-02-21 10:50:11
 */
@Mapper
public interface BUserShareArticleInfoDao extends BaseMapper<BUserShareArticleInfoEntity> {

    List<BUserShareArticleInfoEntity> getUserShareInfo(Map<String, Object> params);

    int getUserShareInfoTotal(Map<String, Object> params);

    int getUserShareArticleCount(@Param("userId") Integer userId);
}
